package fr.generali.accueilclient.gwt.client.ui.components.form.button;

import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.resources.client.ImageResource;
import com.google.gwt.resources.client.ImageResource.ImageOptions;
import com.google.gwt.resources.client.ImageResource.RepeatStyle;

public interface Resources extends ClientBundle {

    @Source("components/form/button/image/btnPrimary.png")
    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    ImageResource btnPrimary();

    @Source("components/form/button/image/btnPrimaryActive.png")
    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    ImageResource btnPrimaryHover();

    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    @Source("components/form/button/image/btnPrimaryHover.png")
    ImageResource btnPrimaryActive();

    @Source("components/form/button/image/btnSecondary.png")
    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    ImageResource btnSecondary();

    @Source("components/form/button/image/btnSecondaryActive.png")
    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    ImageResource btnSecondaryHover();

    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    @Source("components/form/button/image/btnSecondaryHover.png")
    ImageResource btnSecondaryActive();

    @ImageOptions(repeatStyle = RepeatStyle.Horizontal)
    @Source("components/form/button/image/btnInactive.png")
    ImageResource btnInactive();

    @Source("components/form/button/button.css")
    Style style();

    interface Style extends CssResource {

        /**
         * Style par défaut des boutons.
         */
        String btn();

        /**
         * Style des boutons primaires.
         */
        String btnPrimary();

        /**
         * Style des boutons secondaires.
         */
        String btnSecondary();

    }
}
